package com.violet.base.api.dic.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: wqf
 * @Date: 2022/10/27
 * @Description:
 */
@Schema(description = "字典分类DTO",name = "字典分类DTO")
@Data
public class DicTypeDTO implements Serializable {
    /**
     * 主键id
     */
    @Schema(description = "主键id")
    private Long id;


    /**
     * 字典名称
     */
    @NotBlank(message = "字典分类名称不能为空")
    @Schema(description = "字典分类名称")
    private String dicTypeName;

    /**
     * 字典编码
     */
    @NotBlank(message = "字典分类编码不能为空")
    @Schema(description = "字典分类编码")
    private String dicTypeCode;

    /**
     * 字典说明
     */
    @Schema(description = "字典分类说明")
    private String remark;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;

}
